package com.moioo.exam;

/**
 * TRoleUser entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TRoleUser implements java.io.Serializable {
	private static final long serialVersionUID = 84297193667111145L;
	private TRoleUserId id;
	private String uname;
	private String rname;
	private String passport;
	private Integer organ;
	private String organName;
	// Constructors

	public String getOrganName() {
		return organName;
	}

	public void setOrganName(String organName) {
		this.organName = organName;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getRname() {
		return rname;
	}

	public void setRname(String rname) {
		this.rname = rname;
	}

	/** default constructor */
	public TRoleUser() {
	}

	/** full constructor */
	public TRoleUser(TRoleUserId id) {
		this.id = id;
	}

	// Property accessors

	public TRoleUserId getId() {
		return this.id;
	}

	public void setId(TRoleUserId id) {
		this.id = id;
	}
	public static TRoleUserDAO getDAO(){
		return new TRoleUserDAO();
	}

	public String getPassport() {
		return passport;
	}

	public void setPassport(String passport) {
		this.passport = passport;
	}

	public Integer getOrgan() {
		return organ;
	}

	public void setOrgan(Integer organ) {
		this.organ = organ;
	}
}